module.exports = function (sequelize, DataTypes) {
    return sequelize.define('category', {
        is_top: {
            type: DataTypes.BOOLEAN,
            allowNull: false
        },
        name: {
            type: DataTypes.STRING,
            allowNull: false
        }
    })
}